package com.ikkong.biz.model;

import org.apache.bval.constraints.NotEmpty;
import org.beetl.sql.core.annotatoin.AssignID;
import org.beetl.sql.core.annotatoin.Table;

import com.ikkong.core.annotation.BindID;
import com.ikkong.core.model.BaseModel;

import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;
import org.beetl.sql.ext.gen.JavaType;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;

/**
 * Generated by Blade.
 * 2016-11-17 16:03:13
 */
@Table(name = "tb_parent")
@BindID(name = "id")
@SuppressWarnings("serial")
public class Parent extends BaseModel implements WeixinUser  {
//  4
		private java.lang.Integer id;
        // 家长姓名 12
        private java.lang.String name;
        // 学生姓名 12
		private java.lang.String stu_name;
        // 学生手机号做为唯一
		private java.lang.String stu_mobile;
        // 部门id 4
		private java.lang.Integer dept_id;
        // 班级 4
		private java.lang.Integer class_id;
        private java.lang.String class_name;
        // 微信的OPEN_ID 12
		private java.lang.String open_id;
        // 手机号 12
        private java.lang.String mobile;
        // 职位 12
		private java.lang.Integer position;
        // 性别 -6
		private java.lang.Integer gender;
        // email 12
		private java.lang.String email;
        // 微信号 12
		private java.lang.String weixinid;
        // 头像地址 12
		private java.lang.String icon;
        // 上次登陆的CODE(为了解决重复发起刷新导致CODE丢失的问题) 12
		private java.lang.String last_code;
        //  93
		private java.util.Date ctime;
        //  93
		private java.util.Date utime;
        //  4
		private java.lang.Integer version;
		
		private java.lang.String positionStr;



        // 
        @AutoID
        @SeqID(name = "SEQ_PARENT")
//        @AssignID
        public java.lang.Integer getId(){
            return id;
        }

        public void setId(java.lang.Integer id){
            this.id = id;
        }
        // 家长姓名
        public java.lang.String getName(){
            return name;
        }

        public void setName(java.lang.String name){
            this.name = name;
        }
        // 学生姓名
        public java.lang.String getStu_name(){
            return stu_name;
        }

        public void setStu_name(java.lang.String stu_name){
            this.stu_name = stu_name;
        }
        // 学生id

        // 部门id
        public java.lang.Integer getDept_id(){
            return dept_id;
        }

        public java.lang.String getStu_mobile() {
			return stu_mobile;
		}

		public void setStu_mobile(java.lang.String stu_mobile) {
			this.stu_mobile = stu_mobile;
		}

		public void setDept_id(java.lang.Integer dept_id){
            this.dept_id = dept_id;
        }
        // 班级
        public java.lang.Integer getClass_id(){
            return class_id;
        }

        public void setClass_id(java.lang.Integer class_id){
            this.class_id = class_id;
        }
        // 微信的OPEN_ID
        public java.lang.String getOpen_id(){
            return open_id;
        }

        public void setOpen_id(java.lang.String open_id){
            this.open_id = open_id;
        }
        // 手机号
        public java.lang.String getMobile(){
            return mobile;
        }

        public void setMobile(java.lang.String mobile){
            this.mobile = mobile;
        }
        // 职位

        // 性别
        public java.lang.Integer getGender(){
            return gender;
        }

        public java.lang.Integer getPosition() {
			return position;
		}

		public void setPosition(java.lang.Integer position) {
			this.position = position;
		}

		public void setGender(java.lang.Integer gender){
            this.gender = gender;
        }
        // email
        public java.lang.String getEmail(){
            return email;
        }

        public void setEmail(java.lang.String email){
            this.email = email;
        }
        // 微信号
        public java.lang.String getWeixinid(){
            return weixinid;
        }

        public void setWeixinid(java.lang.String weixinid){
            this.weixinid = weixinid;
        }
        // 头像地址
        public java.lang.String getIcon(){
            return icon;
        }

        public void setIcon(java.lang.String icon){
            this.icon = icon;
        }
        // 上次登陆的CODE(为了解决重复发起刷新导致CODE丢失的问题)
        public java.lang.String getLast_code(){
            return last_code;
        }

        public void setLast_code(java.lang.String last_code){
            this.last_code = last_code;
        }
        // 
        public java.util.Date getCtime(){
            return ctime;
        }

        public void setCtime(java.util.Date ctime){
            this.ctime = ctime;
        }
        // 
        public java.util.Date getUtime(){
            return utime;
        }

        public void setUtime(java.util.Date utime){
            this.utime = utime;
        }
        // 
        public java.lang.Integer getVersion(){
            return version;
        }

        public void setVersion(java.lang.Integer version){
            this.version = version;
        }

    public String getClass_name() {
        return class_name;
    }

    public void setClass_name(String class_name) {
        this.class_name = class_name;
    }

	public java.lang.String getPositionStr() {
		return positionStr;
	}

	public void setPositionStr(java.lang.String positionStr) {
		this.positionStr = positionStr;
	}
    
    
}
